package com.party.core.dao.read.commune;


import com.party.common.annotation.DataAuthParam;
import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.commune.CNotebookType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * @program: party
 * @description: 笔记本类型
 * @author: Hua Qunhao
 * @create: 2019-08-12 14:16
 **/
public interface CNotebookTypeReadDao extends BaseReadDao<CNotebookType> {
    Integer getCNotebookTypeCount(CNotebookType cNotebookType);
    List<Map<String,Object>> mobileListPage(@Param("params") Map<String,Object> params, Page page);

    @DataAuthParam(moduleType="MEMBERMGMT" ,field="member_group_user_id",alias="cn")
    List<CNotebookType> webListPage(@Param("params") Map<String,Object> params, Page page);
}
